package com.tom.jmgd.dao;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@DS("h2")
@Repository
@Mapper
public interface checkActivityDao {
    public Map<String,String> getMemcardInfo(@Param("telephoneNum")String telephoneNum);
    public List<Map<String,String>> getMemcardConsume(@Param("telephoneNum")String telephoneNum);
    public List<Map<String,String>> getSignUpData();
    public Map<String,String> getMemcardInfoFromOpenId(@Param("openid")String openid);
}
